//
//  rgb-convertor.h
//  FFMPEG-Serial-Demo
//
//  Created by aron on 2017/12/27.
//  Copyright © 2017年 aron. All rights reserved.
//

#ifndef rgb_convertor_h
#define rgb_convertor_h

#include <stdio.h>

/**
 * Split R, G, B planes in RGB24 file.
 * @param url  Location of Input RGB file.
 * @param w    Width of Input RGB file.
 * @param h    Height of Input RGB file.
 * @param num  Number of frames to process.
 *
 */
int simplest_rgb_split(char *url, int w, int h, int num);

#endif /* rgb_convertor_h */
